package com.fjzn.detect.service.user;

import com.fjzn.detect.repository.user.entity.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fjzn.detect.repository.user.entity.SysUser;

import java.util.Set;

/**
 * <p>
 * 菜单权限表 服务类
 * </p>
 *
 * @author hellowrold
 * @since 2021-04-26
 */
public interface ISysMenuService extends IService<SysMenu> {

    /**
     * 获取用户的权限字符串
     * @param user
     * @return
     */
    Set<String> getMenuPermission(SysUser user);
}
